package com.luboyan.CBillbill.service.user;

import com.luboyan.CBillbill.dao.user.UserMoments;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户动态管理
 */
@Service
public interface UserMomentsService {

    /**
     * 新增用户动态
     */
    void addUserMoments(UserMoments userMoments) throws Exception;

    /**
     * 获取当前用户的订阅用户的动态
     */
    List<UserMoments> getUserSubscribedMoments(Long userId);
}
